package com.codefish.codefishseckill.vo;

import com.codefish.codefishseckill.entity.Order;
import lombok.Data;

/**
 * 秒杀的订单dto对象
 *
 * @author codefish
 * @version 1.0
 * @date 2022/07/23 下午 12:16
 */
@Data
public class SeckillOrderDetailDTO {
    public static Integer SUCCESS_CODE = 1;
    public static Integer WAITING_CODE = 0;
    public static Integer FAIL_CODE = 2;


    /**
     * Order对象
     */
    Order order;
    /**
     * 秒杀查询状态（0为还需等待，1为秒杀成功，2为秒杀失败）
     */
    Integer status;

}
